This page last changed on Mar 21, 2012 by adam.kane@involver.com.

These context variables can be called from any feature block.

Attribute Outputs for Feature Blocks

name type description
id integer
Gives the unique numerical id of that individual item
sml_inspect string This attribute can be applied to any SML item. Renders an alphabetical list of all available SML attributes for that feature or variable, one per line.
content_items array Outputs iterable array of content items attached to feature block
subscribable boolean Indicates whether users can subscribe to this feature block
signature string Outputs security signature for feature
facebook_app context variable References the facebook application instance which in turn has fb_app_id and api_key
size integer Gives the number of unique items in the iterated set
first array Shows the first item in the iterated set

Attribute Outputs for content items in Feature Blocks

name type description
id integer Gives the unique numerical id of that individual item
sml_inspect string This attribute can be applied to any SML item. Renders an alphabetical list of all available SML attributes for that feature or variable, one per line.
xid integer Field for storing unique xid value from facebook. Used to load legacy comments
title string Gives the Title assigned to that unique item in the source feed
published_at string Returns the time for when the item was published relative to the current time. For example: "3 days ago"
published_relative_time string Returns the timestamp for when this item was published
created_at string Database time for when item was created.
created_relative_time string Returns the time for when the item was published relative to the current time. For example: "3 days ago"
formatted_created_at string Pre-formatted "pretty" created at date
origin_url url Source url for remote items
origin_identifier string Unique identifier for item. Used to track social interactions around that item, among other things.
summary_text_body string Outputs summary text, if any, for the item.
main_text_body string Outputs the main body text for the item, if any.
formatted_published_at string Date that the item was published with pre-formatted styling. "Pretty" output.
unix_time_published_at string unix timestamp for when the item was published
like_count integer Count from deprecated ?content_like tag.  Do not use.
vote_count integer Vote count from content_vote
fb_like_count integer Number of facebook_likes on content item, scrubbed from graph.
share_count integer Number of times item has been shared using the share tag
size integer Number of items. If Item is an array .size will show how many items are contained in that array. If not an array it will show 1 if the item or attribute exists and zero if it does not.
flash_embed    
feature context variable Outputs the base feature that this content item is connected to
author string Outputs the item's author
images array Returns array of image objects that are attached to the item
default_image   Returns the first / default image object that is attached to the item
default_image_url url Returns the url of the first / default image object that is attached to the item
default_image_id string Returns the id of the first / default image object that is attached to the item
comment_count integer Outputs count of content_comments
content_item_canvas_page_url url Outputs unique url for the individual content item. Primarily used for locally generated content items such as polls, contests, image galleries, etc; as well as scribd and other objects whose remote urls are unfriendly.
node_type string Outputs a string which tells us which type of social node (if any) is attached to the item.
page_link url Url of the page which a non-page node (a video, for example) is attached to
og_picture_url url Open Graph picture url for the content item
og_tracking_identifier url Open Graph tracking identifier. For local content items this will be the same as canvas_page_url. Particularly useful for remote content items
Document generated by Confluence on Feb 12, 2013 09:09